home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2000 / MacHack 2000.toast / pc / The Hacks / Softshoe / Lisa's Mac Parts / Application / NullEventHandler.cp < prev    next >
Text File  |  2000-06-23  |  390b  |  26 lines

  1. // NullEventHandler.cp
  2.  
  3. #ifndef NullEventHandler_h
  4. #include "NullEventHandler.h"
  5. #endif
  6. #ifndef Delayer_h
  7. #include "Delayer.h"
  8. #endif
  9. #ifndef IdleTimer_h
  10. #include "IdleTimer.h"
  11. #endif
  12.  
  13. void NullEventHandler::HandleNullEvent( const NullEvent& )
  14.   {
  15.     Delayer::ScheduleTasks();
  16.     
  17.     try
  18.       {
  19.         IdleTimer timer( 4 );
  20.         Postponer::Execute();
  21.       }
  22.      catch ( const IdleTimerExpired& )
  23.       {
  24.       }
  25.   }
  26.